package com.shxy.service

import com.shxy.dao.UserDao
import com.shxy.pojo.User
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service

@Service("userService")
open class UserService: IUserService{

    @Autowired
    lateinit var userDao: UserDao

    override fun getUserById(id: Long): User {
        return userDao.getUserById(id)
    }

}